﻿using System; 
using System.Text;
using System.Collections.Generic; 
using System.Data;
namespace ART.Model{
	 	//TBUsers
		public class M_TBUsers
	{
   		     
      					
		private int _id=0;
								/// <summary>
	           /// 
                    /// </summary>
                    public int Id
                    {
                           get{ return _id; }
                           set{ _id = value; }
                    }        
								
		private string _account=string.Empty;
						/// <summary>
	           /// 用户账号
                    /// </summary>
                    public string Account
                    {
                           get{ return _account; }
                           set{ _account = value; }
                    }        
								
		private string _pwd=string.Empty;
						/// <summary>
	           /// 密码
                    /// </summary>
                    public string PWD
                    {
                           get{ return _pwd; }
                           set{ _pwd = value; }
                    }        
						
		private int _aid=0;
								/// <summary>
	           /// 
                    /// </summary>
                    public int AID
                    {
                           get{ return _aid; }
                           set{ _aid = value; }
                    }        
						
		private int _usertype=0;
								/// <summary>
	           /// 用户类型(0 学员| 1 教师)
                    /// </summary>
                    public int UserType
                    {
                           get{ return _usertype; }
                           set{ _usertype = value; }
                    }        
						
		private int _usergroupid=0;
								/// <summary>
	           /// 用户组
                    /// </summary>
                    public int UserGroupId
                    {
                           get{ return _usergroupid; }
                           set{ _usergroupid = value; }
                    }        
						
		private int _enabled=0;
								/// <summary>
	           /// 是否启用，是|否
                    /// </summary>
                    public int Enabled
                    {
                           get{ return _enabled; }
                           set{ _enabled = value; }
                    }        
												
		private DateTime _createtime=DateTime.Now;
		/// <summary>
	           /// 创建时间
                    /// </summary>
                    public DateTime CreateTime
                    {
                           get{ return _createtime; }
                           set{ _createtime = value; }
                    }        
								
		private string _lastloginip=string.Empty;
						/// <summary>
	           /// 上次登录IP
                    /// </summary>
                    public string LastLoginIP
                    {
                           get{ return _lastloginip; }
                           set{ _lastloginip = value; }
                    }        
												
		private DateTime _lastlogintime=DateTime.Now;
		/// <summary>
	           /// 
                    /// </summary>
                    public DateTime LastLoginTime
                    {
                           get{ return _lastlogintime; }
                           set{ _lastlogintime = value; }
                    }        
												
		private DateTime _lastlogouttime=DateTime.Now;
		/// <summary>
	           /// 
                    /// </summary>
                    public DateTime LastLogoutTime
                    {
                           get{ return _lastlogouttime; }
                           set{ _lastlogouttime = value; }
                    }        
						
		private int _logintimes=0;
								/// <summary>
	           /// 
                    /// </summary>
                    public int LoginTimes
                    {
                           get{ return _logintimes; }
                           set{ _logintimes = value; }
                    }        
						
		private string _userfrom="";
								/// <summary>
	           /// 候选人来源
                    /// </summary>
        public string UserFrom
                    {
                           get{ return _userfrom; }
                           set{ _userfrom = value; }
                    }        
			}
}